package net.hn.hnms.biz.project.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 刘昊
 * @date 2024-03-13 16:58
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("施工计划")
public class ConstructionPlanVo extends BaseVO implements Serializable {

    @ApiModelProperty(value = "id")
    private String constructionId;

    @ApiModelProperty(value = "项目id")
    private String projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目编号")
    private String projectCode;

    @ApiModelProperty(value = "项目负责人")
    private String projectLeader;

    @ApiModelProperty(value = "立项日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date projectDate;

    @ApiModelProperty(value = "计划名称")
    private String planName;

    @ApiModelProperty(value = "施工单位")
    private String constructionUnit;

    @ApiModelProperty(value = "计划制定日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date planningDate;

    @ApiModelProperty(value = "计划开始日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date planningStartDate;

    @ApiModelProperty(value = "计划结束日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date planningEndDate;

    @ApiModelProperty(value = "计划总用时(天)")
    private String planningTotalTime;

    @ApiModelProperty(value = "公司编码")
    private String companyCode;
    // todo 施工方案  施工任务

}
